import request from './request.ts'
export function getAction(url: string, data: any = {}) {
  request({
    url,
    method: 'get',
    data,
  })
}

export function postAction(url: string, params: object) {
  request({
    url,
    method: 'post',
    params,
  })
}
